package com.henu.cee_service.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @author jsm
 * @create 2020-02-26 14:44
 */
public class CustomUsernamePasswordToken extends UsernamePasswordToken {
    private String token;

    public CustomUsernamePasswordToken(String token) {
        this.token = token;
    }

    @Override
    public Object getPrincipal() {
        return token;
    }
}
